package com.huan.springboot.domain;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author huan.fu
 * @date 2018/4/24 - 15:46
 */
@Data
@Document(collection = "pers")
public class Person {
	@Id
	private String id;
	private String personId;
	private String name;
	private Integer age;
}
